<template>
  <!-- 组件 -->
  <view class="xxxxxx_comp" @click="goDetail">
  </view>
</template>

<script>
export default {
  components: {},
  props: {
    itemDetail: {
      type: Object,
      default: () => {}
    },
  },
  computed: {},
  data() {
    return {
    };
  },
  created() {},
  methods: {
    goDetail(){
      uni.navigateTo({
        url: `/pages/detail-pages/news/index?id=${this.itemDetail.id}`
      })
    },
  }
};
</script>

<style scoped lang="scss">
.xxxxxx_comp {
}
</style>
